home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
10,000 Great Games
/
10,000 Great Games.iso
/
Product
/
66
/
data1.cab
/
Source_Files
/
Src
/
Spot.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-01-16
|
381b
|
28 lines
#include "stdafx.h"
cSpot::cSpot(cSpot **list, cSpot *orig)
{
add_end((cList **)list);
copy(orig);
}
cSpot::cSpot(cSpot **list, int _x, int _y, char *_label)
{
add_end((cList **)list);
set_position(_x, _y);
label = _label;
}
void cSpot::copy(cSpot *orig)
{
ASSERT(orig != 0);
set_position(orig->x, orig->y);
label = orig->label;
}